<!--
 * @Author: 刘苗
 * @Description: h5制作
 * @Date: 2021-09-01 14:45:31
-->
<template>
  <div style="padding: 25px">
    <el-card shadow="never" :body-style="{ padding: '20px' }">
      <el-row :gutter="20">
        <el-col :span="6" :offset="0">
          <module ref="module" />
        </el-col>
        <el-col :span="12" :offset="0">
          <mobile-View ref="mobileView"> </mobile-View>
        </el-col>
        <el-col :span="6" :offset="0">
          <keep-alive>
            <component :is="componentName" :ref="componentName"></component>
          </keep-alive>
        </el-col>
      </el-row>
    </el-card>
  </div>
</template>



<script>
import module from "./comps/module.vue";
import mobileView from "./comps/mobileView.vue";
export default {
  components: {
    module,
    mobileView,
  },
  data() {
    return {
      componentName: "",
    };
  },
};
</script>